package com.jc.auth.domain.service;

import com.jc.auth.domain.entity.AuthPermissionBO;
import com.jc.auth.domain.entity.AuthRoleBO;

import java.util.List;

/**
 * @Description:
 * @Author: ASL_ly
 * @Package: com.jc.auth.domain.service
 * @Project: jc-club
 * @Date: 2024/10/29  13:04
 */
public interface AuthPermissionDomainService {
    /**
     * 新增权限
     * @param authPermissionBO
     * @return
     */
    Boolean add(AuthPermissionBO authPermissionBO);

    /**
     * 修改权限
     * @param authPermissionBO
     * @return
     */
    Boolean update(AuthPermissionBO authPermissionBO);

    /**
     * 删除权限
     * @param authPermissionBO
     * @return
     */
    Boolean delete(AuthPermissionBO authPermissionBO);

    /**
     * 查询用户权限
     * @param userName
     * @return
     */
    List<String> getPermission(String userName);
}
